//
//  TFBaseRequest.h
//  TFBase
//
//  Created by Liyadong on 2019/6/25.
//  Copyright © 2019 Liyadong. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface TFBaseRequest : NSObject

+(void)basePostRequestUrl:(NSString *)url requestParam:(NSDictionary *)param success:(void (^)(id responseObject))success failure:(void (^)(NSError *error))failure;

+(void)basePostJsonRequestUrl:(NSString *)url requestParam:(NSDictionary *)param success:(void (^)(id responseObject))success failure:(void (^)(NSError *error))failure;

+(void)baseGetRequestUrl:(NSString *)url requestParam:(NSDictionary *)param success:(void (^)(id responseObject))success failure:(void (^)(NSError *error))failure;

+(void)baseUpLoadImageWithUrl:(NSString *)url requestParam:(NSDictionary *)param image:(UIImage *)image success:(void (^)(id responseObject))success failure:(void (^)(NSError *error))failure;

+(void)feedBackUpLoadImageWithUrl:(NSString *)url requestParam:(NSDictionary *)param images:(NSMutableArray *)images success:(void (^)(id responseObject))success failure:(void (^)(NSError *error))failure;


@end

NS_ASSUME_NONNULL_END
